package cn.ilovese.collect.datamapper.collaboration_task;

import cn.ilovese.collect.po.collaboration_task.CollaborationTaskDependency;

import java.util.List;

public interface CollaborationTaskDependencyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CollaborationTaskDependency record);

    int insertSelective(CollaborationTaskDependency record);

    CollaborationTaskDependency selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CollaborationTaskDependency record);

    int updateByPrimaryKey(CollaborationTaskDependency record);

    List<CollaborationTaskDependency>  selectByUpstreamId(Integer taskId);

    List<CollaborationTaskDependency> selectByDownstreamId(Integer taskId);
}